package com.yoyo.system.service;

import com.yoyo.system.domain.SysUserOnline;

import java.util.Date;
import java.util.List;

/**
 * @author zyl
 * @Date 2021/7/3 -15:39
 */
public interface ISysUserOnlineService {
    SysUserOnline selectOnlineById(String sessionId);

    void deleteOnlineById(String sessionId);

    void saveOnline(SysUserOnline online);

    List<SysUserOnline> selectOnlineByExpired(Date expireDate);
}
